import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import first from '@/components/firstPage'
import head from '@/components/header'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path:"/",
      name:"firstPage",
      component:first
    },
    {
      path: '/hello',
      name: 'HelloWorld',
      component: HelloWorld
    },{
    path:"/head",
      name:"head",
      component:head
    }
  ]
})
